﻿using B.Auth.Enum;
using MediatR;

namespace B.Auth.APi.Application.Command.Leaves
{
    public class LeaveAddCommand:IRequest<ApiResult<int>>
    {
        public string LeaveName { get; set; }
        public int Department { get; set; }
        /// <summary>
        /// 请假类型 事假，病假，婚假，丧假，产假
        /// </summary>
        public string OptionType { get; set; }

        public string LeaveTimeMessage { get; set; }//请假时间信息
        public DateTime BeginTime { get; set; }
        public DateTime EndTime { get; set; }
        public int WorkTime { get; set; }//总工时
        public DateTime CheckTime { get; set; }//报道时间
        public string DepartmentHead { get; set; }//部门领导
        public string leaveReason { get; set; }//请假事由
    
      
        public bool Status { get; set; }
        public int ShenType { get; set; } = 0;

    }
}
